package cn.jg.framework.auth.session;

public class ThreadLocalTemplate {
    private static final ThreadLocal<Integer> TEMPLATE_THREAD_LOCAL = new InheritableThreadLocal<>();

    public static void set(final Integer integer) {
        TEMPLATE_THREAD_LOCAL.set(integer);
    }

    public static Integer get() {
        return TEMPLATE_THREAD_LOCAL.get();
    }

    public static void remove() {
        TEMPLATE_THREAD_LOCAL.remove();
    }
}
